package com.unknow.first.dapp.admin.account.constants;

import lombok.AllArgsConstructor;
import org.web3j.crypto.Hash;

/**
 * 合约相关常量
 */
public class ContractConstants {

    /**
     * 合约事件
     */
    @AllArgsConstructor
    public static enum Event {

        PAY(Hash.sha3String("Pay(address,uint256)"), "Pay(address,uint256)", "ERC20充值"),
        WITHDRAW(Hash.sha3String("Withdraw(address,bytes32,uint256)"), "Withdraw(address,bytes32,uint256)", "ERC20提现"),
        ;
        public String topic0;
        public String function;
        public String name;
    }
}
